package com.aasa.siccosap.util;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.displaytag.decorator.ColumnDecorator;

public class DateColumnDecorator implements ColumnDecorator {

	  private SimpleDateFormat dateFormat2 = new SimpleDateFormat("dd-MM-yyyy");


    public final String decorate(Object columnValue)
    {
       if (columnValue!=null){
	        Date date=null;
	        date = (Date)columnValue;

	        return this.dateFormat2.format(date);
       }else{
    	   return "";
       }
    }
	
}
